﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace PeiYue.Model.ERPModels
{

    [SugarTable("v应付单", "ERP")]
    public class ErpShouldPay
    {
        public int fID { get; set; }


        [SugarColumn(ColumnName = "单号")]
        public string OrderNo { get; set; }

        [SugarColumn(ColumnName = "采购订单号 ")]
        public string PONo { get; set; }

        [SugarColumn(ColumnName = "订单日期")]
        public DateTime OrderDate { get; set; }

        [SugarColumn(ColumnName = "要求送货日期")]
        public DateTime DeliveryDate { get; set; }

        //public DateTime? 收货日期 { get; set; }

        //public DateTime? 实际收货日期 { get; set; }

        //public string 财务年度 { get; set; }

        //public string 财务月度 { get; set; }

        //public string 类型 { get; set; }

        //public int? 公司ID { get; set; }

        //public string 公司 { get; set; }

        [SugarColumn(ColumnName = "供应商ID")]
        public int SupplierId { get; set; }

        [SugarColumn(ColumnName = "供应商")]
        public string Supplier { get; set; }

        //public int? 费用类型ID { get; set; }

        //public string 费用类型 { get; set; }

        //public string 三级分类 { get; set; }

        //public string 二级分类 { get; set; }

        //public string 摘要 { get; set; }

        //public int? 税率 { get; set; }

        //public decimal? 无税金额 { get; set; }

        //public decimal? 税额 { get; set; }

        [SugarColumn(ColumnName = "价税合计")]
        public decimal TaxAmount { get; set; }

        //public decimal? 开票金额 { get; set; }

        [SugarColumn(ColumnName = "已付金额")]
        public decimal PaidAmount { get; set; }

        //public decimal? 差异金额 { get; set; }

        [SugarColumn(ColumnName = "付款日期")]
        public DateTime? PaidDate { get; set; }


        [SugarColumn(ColumnName = "编号")]
        public string SupplierCode { get; set; }

        //public string 发票类型 { get; set; }

        //public string 采购发票号 { get; set; }

        //public decimal? 发票税率 { get; set; }

        //public string 付款方式 { get; set; }

        //public string 付款账号 { get; set; }

        //public string 关联单号 { get; set; }

        //public string 备注 { get; set; }

        [SugarColumn(ColumnName = "制单人")]
        public string Creater { get; set; }

        [SugarColumn(ColumnName = "制单日期")]
        public DateTime CreateTime { get; set; }

        //public string 确认人 { get; set; }

        //public DateTime? 确认日期 { get; set; }

        //public string 来源 { get; set; }

        //public int? 来源ID { get; set; }

        //public string 单据状态 { get; set; }

        //public int? 状态 { get; set; }
    }
}
